package org.dawning.shop.category.repertory;

import org.dawning.shop.category.entity.ViewCategory;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource(path = "pcCategory",collectionResourceRel = "pcCategory")
public interface ViewCategoryRepository extends MongoRepository<ViewCategory,String>{


    ViewCategory findOneById(String id);

}